<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> 
<html>
<head>
<title>ZetCode Ruby tutorial</title>
<link rel="stylesheet" href="/cfg/format.css" type="text/css">
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<meta name="keywords" content="Ruby, learn Ruby, programming language, computer language, tutorial">
<meta name="description" content="This is Ruby tutorial. In this tutorial, you will
learn the Ruby programming language.">
<meta name="language" content="en">
<meta name="author" content="Jan Bodnar">
<meta name="distribution" content="global">

<script type="text/javascript" src="/lib/jquery.js"></script>
<script type="text/javascript" src="/lib/common.js"></script>

<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script>

<script type="text/javascript">

  var _gaq = _gaq || [];
  _gaq.push(['_setAccount', 'UA-5536206-1']);
  _gaq.push(['_trackPageview']);

  (function() {
    var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
    ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
  })();

</script>
</head>


<body>

<div class="container2">

<div id="wide_ad" class="ltow">
<script type="text/javascript"><!--
google_ad_client = "pub-9706709751191532";
/* 160x600, August 2011 */
google_ad_slot = "2484182563";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</div>

<div class="content2">

<a href="/" title="Home">Home</a>


<h1>Ruby tutorial</h1>

<p>
This is a Ruby tutorial. In this tutorial you will learn Ruby
language. The tutorial is suitable for beginners.
</p>

<h2>Table of contents</h2>

<ul>
  <li><a href="ruby/">Ruby language</a></li>
  <li><a href="lexis/">Lexical structure</a></li>
  <li><a href="basics/">Basics</a></li>
  <li><a href="variables/">Variables</a></li>
  <li><a href="objects/">Objects</a></li>
  <li><a href="datatypes/">Data types</a></li>
  <li><a href="strings/">Strings</a></li>
  <li><a href="expressions/">Expressions</a></li>
  <li><a href="flowcontrol/">Flow control</a></li>
  <li><a href="arrays/">Arrays</a></li>
  <li><a href="hashes/">Hashes</a></li>
  <li><a href="oop/">OOP</a></li>
  <li><a href="oop2/">OOP II</a></li>
  <li><a href="regex/">Regular expressions</a></li>
  <li><a href="io/">Input &amp; Output</a></li>
</ul>


<h2>Ruby</h2>

<p>
Ruby is a dynamic, reflective, general-purpose object-oriented programming 
language. The original author is a Japanese programmer Yukihiro Matsumoto. 
Ruby first appeared in 1995. Ruby supports various programming paradigms. 
This includes object orientation, reflection, imperative and reflective programming.
</p>

<div class="g-plusone"></div>

<h2>Similar tutorials</h2>

<p>
ZetCode has other programming language tutorials.
<a href="/tutorials/pythontutorial/">Python tutorial</a>,
<a href="/lang/php/">PHP tutorial</a>,
<a href="/lang/tcl/">Tcl tutorial</a>,
<a href="/lang/visualbasic/">Visual Basic tutorial</a>,
and <a href="/lang/csharp/">C# tutorial</a>.
</p>


<div class="footer">
<div class="signature">
<a href="/">ZetCode::</a> last modified December 17, 2011 <span class="copyright">&copy; 2007 - 2013 Jan Bodnar</span>
</div>
</div>

</div> <!--content-->

</div> <!--container-->

</body> 
</html>

